﻿using HCQ2_Model;
using HCQ2_Model.VR.Params;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IBLL
{
    public partial interface IT_VRUserLevelLogBLL
    {
        /// <summary>
        ///  验证用户是否需要重新计算用户等级
        /// </summary>
        /// <param name="user_id"></param>
        /// <returns></returns>
        int CheckCountScore(int user_id);
        /// <summary>
        ///  重新计算用户等级
        /// </summary>
        /// <param name="user_id">推荐人id</param>
        /// <param name="folder_id">商铺id</param>
        /// <param name="year">所属年</param>
        /// <returns></returns>
        int ResetUserLevel(int user_id,int folder_id,int year);
        /// <summary>
        /// 获取用户等级日志列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<UserLevelLog> GetUserLevelLog(UserLevelLogParam param, out int total);
    }
}